if($(".navCont>div").length==0){
	$(".nullAct").css("display","block")
}else{
	$(".nullAct").css("display","none")
}
console.log(localStorage.logintoken)
$.ajax({
	url:"http://120.76.201.26:8088/bill/cash_record",
	beforeSend: function(request) {
        request.setRequestHeader("Authorization","Basic"+localStorage.logintoken);
    },
    type:"GET",
	success:function(e){
		console.log(e.code)
		var status="完成";
		if(e.data.length){
			$(".navCont").empty();
			$(".nullAct").css("display","none");
			for(var i=0;i<e.data.length;i++){
					var classStatic="DrawT";
					if(e.data[i].verify_status==2){
						classStatic="DrawF"
					}else if(e.data[i].verify_status==3){
						classStatic=""
					}
					//第三方原版
					// var html='<div><div class="ContLeft"><h2>'+e.data[i].remark+'</h2><h4>'+e.data[i].create_time+'</h4></div><div class="ContRight"><h2>'+e.data[i].account_money+'元</h2><h4 class="'+classStatic+'">'+e.data[i].verify_desc+'</h4></div></div>'
					//微信公众号原版
					var html='<div><div class="ContLeft"><h2>'+e.data[i].convert_code+'</h2><h4>'+e.data[i].create_time+'</h4></div><div class="ContRight"><h2>'+e.data[i].account_money+'元</h2><h4 class="'+classStatic+'">'+e.data[i].verify_desc+'</h4></div></div>'
					$(".navCont").append(html)
			}
		}else{
			$(".nullAct").css("display","block");
		}
	},
	error:function(date){
		console.log(date)
	}
})